package com.mingloucct.payment_ws.service;

import com.mingloucct.payment_ws.entity.Neishen;
import com.mingloucct.payment_ws.entity.ShenHeInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface INeishenService {
    List<Neishen> readWaishen(String quary);
    List<Neishen> readNeishen(String quary);
    List<Neishen> readFangkuan(String quary);
    void updateByID(String customID,
                     String date,
                     String CustomName,
                     String Province,
                    String City,
                    String Address,
                     String PostNum
    );
    void updateShenheByID(String customID,
                          String CarPrice,
                          String Prepay,
                          String Dai_kuan_jin_e,
                          String Zong_he_li_lv,
                          String Dai_kuan_nian_shu,
                          String Yue_gong,
                          String Dai_kuan_lei_xing,
                          String Marriage
    );
    void deleteByID(String customID);
    void changeByID(String customID,String amount);
    String upLoadFile(MultipartFile upload,String CustomID,int Type);
    void uploadToDB(String CustomID,String url,String Type,String filename);
    ShenHeInfo selectShenHeInfo(String CustomID);
    void changeStatus(String customID);
}
